package com.quectel.core.module.parkingcard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author ryan
 * @email ryan.ran@quectel.com
 * @date 2023/04/24 15:24
 */
@Data
@TableName("parking_card_order_device")
public class ParkingCardOrderDeviceEntity {

    /**
     *
     */
    @TableId
    private Long id;

    /**
     * 停车月卡订单id
     */
    private Long parkingCardOrderId;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 下发状态 0失败 1成功 2不支持
     */
    private Byte status;

    /**
     * 设备名称
     */
    @TableField(exist = false)
    private String deviceName;
}
